﻿@model MyWebApp.Models.LoginUserModel

<li class="dropdown user user-menu">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
        <img src="/Content/UserImg/@Model.UserImg" class="user-image" alt="User Image">
        <span class="hidden-xs">@Model.UserName</span>
    </a>
    <ul class="dropdown-menu">
        <!-- User image -->
        <li class="user-header">
            <img src="/Content/UserImg/@Model.UserImg" class="img-circle" alt="User Image">
            <p>
                @Model.UserDept
            </p>
            <small>
                @{ foreach (var item in Model.Roles)
                    {
                        <span>@item /</span>
                    }
                }
            </small>
        </li>
        <!-- Menu Body -->
        <li class="user-body">
            <div class="row">
                @Model.Remarks
            </div>
            @*<div class="row">
                    <div class="col-xs-4 text-center">
                        <a href="#">Followers</a>
                    </div>
                    <div class="col-xs-4 text-center">
                        <a href="#">Sales</a>
                    </div>
                    <div class="col-xs-4 text-center">
                        <a href="#">Friends</a>
                    </div>
                </div>*@
            <!-- /.row -->
        </li>
        <!-- Menu Footer-->
        <li class="user-footer">
            <div class="pull-left">
                <a href="#" class="btn btn-default btn-flat">个人信息</a>
            </div>
            <div class="pull-right">
                <a href="/Security/LogOut" class="btn btn-default btn-flat">退出</a>
            </div>
        </li>
    </ul>
</li>

